More...
Inherits INotificationSDKServer.
|
| | NotificationSDKServer (NotificationSDKServerCredentials credentials) |
| | Constructs a NotificationSDKServer object. More...
|
| |
| | NotificationSDKServer (NotificationSDKServerCredentials credentials, NotificationSDKServerSettings settings) |
| | Constructs a NotificationSDKServer object with the credentials in input. More...
|
| |
| void | SendNotification (string vascoNotificationIdentifier, Notification notification) |
| | Sends a notification, described by a Notification object, using the specified client device identifier.
As the process of sending a notification is asynchronous, a callback is necessary in order to handle errors or to report success. More...
|
| |
| void | AwaitSendTerminationAndFinish () |
| | Wait for all submitted notifications to be sent.
The last notifications that have not been sent after a specific timeout (which is specified in the NotificationSDKServerSettings object of the NotificationSDKServer object) will be cancelled.
All connections are closed. The object is not usable anymore and thus can't be used to send notifications. More...
|
| |
| Dictionary< string, DateTime > | GetIOSInactiveDevices () |
| | Returns the list of devices that reported failed-delivery attempts to the Apple Feedback services.
The result is a map, containing the notification identifier mapped to the timestamp when APNs determined that the application no longer exists on the device.- Deprecated:
- GetInactiveDevices is no longer supported by Apple. This function will return null.
More...
|
| |
| NotificationSDKServerPlatformNames | GetPlatformName (string vascoNotificationIdentifier) |
| | Gets the platform name from a VASCONotificationIdentifier identified by its hexadecimal representation. More...
|
| |
| int | GetPayloadLength (Notification notification, NotificationSDKServerPlatformNames platformName) |
| | Gets the notification payload length, in bytes, depending on the given platform name.
For all platforms, the payload is encoded in UTF-8 before its length calculation.
Therefore, a non-latin character (Cyrillic, Japanese, Arabic, etc.) will have a length greater than 1.
Please note that each protocol adds some overhead. The usable length is thus smaller than the theoretical maximum payload length. More...
|
| |
◆ NotificationSDKServer() [1/2]
◆ NotificationSDKServer() [2/2]
◆ AwaitSendTerminationAndFinish()
| void AwaitSendTerminationAndFinish |
( |
| ) |
|
|
inline |
Wait for all submitted notifications to be sent.
The last notifications that have not been sent after a specific timeout (which is specified in the NotificationSDKServerSettings object of the NotificationSDKServer object) will be cancelled.
All connections are closed. The object is not usable anymore and thus can't be used to send notifications.
Implements INotificationSDKServer.
◆ GetIOSInactiveDevices()
| Dictionary<string, DateTime> GetIOSInactiveDevices |
( |
| ) |
|
|
inline |
Returns the list of devices that reported failed-delivery attempts to the Apple Feedback services.
The result is a map, containing the notification identifier mapped to the timestamp when APNs determined that the application no longer exists on the device.
- Deprecated:
- GetInactiveDevices is no longer supported by Apple. This function will return null.
Implements INotificationSDKServer.
◆ GetPayloadLength()
Gets the notification payload length, in bytes, depending on the given platform name.
For all platforms, the payload is encoded in UTF-8 before its length calculation.
Therefore, a non-latin character (Cyrillic, Japanese, Arabic, etc.) will have a length greater than 1.
Please note that each protocol adds some overhead. The usable length is thus smaller than the theoretical maximum payload length.
Implements INotificationSDKServer.
◆ GetPlatformName()
Gets the platform name from a VASCONotificationIdentifier identified by its hexadecimal representation.
Implements INotificationSDKServer.
◆ SendNotification()
| void SendNotification |
( |
string |
vascoNotificationIdentifier, |
|
|
Notification |
notification |
|
) |
| |
|
inline |
Sends a notification, described by a Notification object, using the specified client device identifier.
As the process of sending a notification is asynchronous, a callback is necessary in order to handle errors or to report success.
Implements INotificationSDKServer.
◆ OnSendNotificationError
◆ OnSendNotificationSuccess
The documentation for this class was generated from the following file: